$(function () {
    $("#product_datagrid").datagrid({
        fit: true,
        columns: [[
            {field: 'id', title: 'id', width: 100, hidden: true}, //hidden 隐藏显示该列
            {field: 'username', title: '保险编号', width: 100},//允许列改变大小
            {field: 'realname', title: '保险产品', width: 100},
            {field: 'tel', title: '保险年费', width: 100}
        ]],
        rownumbers: true,
        striped: true,
        toolbar: "#pro_toolbar",
        pagination: true,
        fitColumns: true
    })
})











